var infoview = Domain(
  data("Address", 
    state -> specified,
    text -> "Elicitation = Focus Group, Specification = Data Model",
    gist -> "Address of a location",
    spec -> "A maximum of 12 character string representing the POI address",
    owner -> "design",
    prio -> 9
  ), 
  data("Distance", 
    state -> specified,
    text -> "Elicitation = Brainstorming, Specification = Feature requierment",
    gist -> "Distance from user location to location",
    spec -> "Distance between two locations in meters represented by a long value.",
    owner -> "design",
    prio -> 9
  ), 
  data("Open hours", 
    state -> specified,
    text -> "Elicitation = Brainstorming, Specification = Virtual Windows",
    gist -> "Opening hours of a POI",
    spec -> "Hours open specified as two integers representing the opening and closing time in seconds.",
    owner -> "design",
    prio -> 7
  ), 
  data("Rating", 
    why -> "Ratings might be hurtful for specific stores",
    state -> dropped,
    text -> "Elicitation = Brainstorming, Specification = Screenshots",
    gist -> "Numerical rating 0-5",
    spec -> "A rating of a POI specified as a integer with a  value of 0-5.",
    owner -> "design",
    prio -> 0
  ), 
  data("Reviews", 
    why -> "Reviews might be hurtful for specific stores",
    state -> dropped,
    text -> "Elicitation = Brainstorming, Specification = Feature requirements",
    gist -> "Reviews of a location",
    spec -> "The reviews are anonoymous personal description of a store and are stored as a maximum of 255 character array.",
    owner -> "design",
    prio -> 0
  ), 
  data("Title", 
    state -> specified,
    text -> "Elicitation = Brainstorming, Specification = Data Model",
    gist -> "The name of the location",
    spec -> "A string containing the name of the POI.",
    owner -> "design",
    prio -> 9
  ), 
  data("Title") enables (quality("Title length")), 
  feature("Info view", 
    gist -> "The Info view contains the information for a POI",
    spec -> "An info view which is linked to a Map pin and contains all the information related to the corresponding POI. This includes the name of the POI, the address and open hours. The Info view also contains the necessary means for getting directions to the POI and sharing the POI.",
	text -> "Elicitaion = Similar Companies, Specification = Virtual Windows",
    state -> created,
    owner -> "design",
    prio -> 8
  ), 
  function("Bookmark POI", 
    gist -> "The users can bookmark POIs",
    spec -> "The user can bookmark a POI by tapping the bookmark button in the info view",
	text -> "Elicitation = Similar Companies, Specification = Feature requierments",
    state -> specified,
    owner -> "product",
    prio -> 5
  ), 
  function("Copy location", 
    state -> specified,
    text -> "Elicitation = Brainstorming, Specification = Task Description",
    gist -> "Able to copy selected location",
    spec -> "The product shall provide a way for the user to copy the coordinates of a location to the clipboard.",
    owner -> "domain",
    prio -> 4
  ), 
  quality("Title length", 
	state -> specified,
	text -> "Elicitation = Focus Group, Specefication = Context Diagram",
    gist -> "The title length should be limited",
    spec -> "The Title should have a maximum length of 255 chars.",
    why -> "The max length is so it should fit in a 128 char array in the database.",
    prio -> 6
  )
)
